Masteriyo\RestApi\Controllers\Version1\QuizBuilderController S

Total Complexity 36
Dependencies 8
Dependents 1
Total lines 492
Lines of code 225
Logical lines of code 68
Comment lines 211
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
get_item()
S
54 5 20
update_post()
S
59 4 15
get_item_permissions_check()
S
57 3 18
update_item_permissions_check()
S
57 3 18
update_item()
S
57 3 16
get_question_data()
S
52 2 23
register_routes()
S
50 1 33
save_question_order()
S
67 3 7
get_object()
S
61 2 12
get_item_schema()
S
58 1 16
prepare_object_for_response()
S
65 2 8
filter_questions()
S
74 2 4
get_quiz_contents()
S
61 1 12
get_quiz_child_data()
S
63 1 11
check_item_permission()
S
79 1 3
process_objects_collection()
S
70 1 6
__construct()
S
81 1 3